package com.hhit.zhgd.service

import com.baomidou.mybatisplus.core.metadata.IPage
import com.baomidou.mybatisplus.extension.service.IService
import com.hhit.zhgd.domain.dto.BackStageEquipmentMaterialTestingDTO
import com.hhit.zhgd.domain.entity.ZhgdEquipmentMaterialTesting
import com.hhit.zhgd.domain.response.BaseResp
import jakarta.servlet.http.HttpServletResponse
import org.springframework.web.multipart.MultipartFile

interface ZhgdEquipmentMaterialTestingService:IService<ZhgdEquipmentMaterialTesting> {

    @Throws(Exception::class)
    fun importEquipmentMaterialTesting(multipartFile: MultipartFile?): BaseResp<Any?>?

    fun confirmEmtHandInDrawings(id: Int?): BaseResp<Any?>?

    fun addEquipmentMaterialTesting(backStageEquipmentMaterialTestingDTO: BackStageEquipmentMaterialTestingDTO?): BaseResp<Any?>?

    fun editEquipmentMaterialTesting(backStageEquipmentMaterialTestingDTO: BackStageEquipmentMaterialTestingDTO?): BaseResp<Any?>?

    fun delEquipmentMaterialTesting(ids: List<Int?>?): BaseResp<Any?>?

    fun getEquipmentMaterialTestingPageInfo(
        keyWord: String?,
        page: Int,
        size: Int
    ): IPage<BackStageEquipmentMaterialTestingDTO>?

    @Throws(Exception::class)
    fun exportEquipmentMaterialTesting(response: HttpServletResponse?)
}